class RealtimeController {
    constructor($rootScope, $scope, $cookieStore, $timeout, $state, ngDialog, dialogService, getRealtimeRunner, iRunner){

        var vm = this;

        vm.$rootScope        = $rootScope;
        vm.$cookieStore      = $cookieStore;
        vm.$timeout          = $timeout;
        vm.$state            = $state;
        vm.ngDialog          = ngDialog;
        vm.dialogService     = dialogService;
        vm.getRealtimeRunner = getRealtimeRunner;
        vm.iRunner       	 = iRunner;

        // 个人成绩
        vm.getRealtimeRunner.code==0&&(vm.runnerInfo = vm.getRealtimeRunner.data);

        vm.back = function() {
            vm.$rootScope.realltimepersonalback = 1;
            vm.$state.go("dashboard.race.realtimelistpersonal");
        }
        
    }
}

RealtimeController.$inject = ['$rootScope', '$scope', '$cookieStore', '$timeout', '$state', 'ngDialog', 'dialogService', 'getRealtimeRunner', 'iRunner']; 

export default RealtimeController;